package com.lagou.tomcat.mapper;

import com.lagou.tomcat.container.Context;

import java.util.Map;

/**
 * @author zhangjinshan
 * @version 1.0
 * @description
 * @date 2021/7/15 上午9:24
 */
public class MappedContext {

    private Map<String, MappedWrapper> wrappers ;
    private Context context;

    public MappedContext(Context context) {
        this.context = context;
    }

    public MappedContext(Map<String, MappedWrapper> wrappers, Context context) {
        this.wrappers = wrappers;
        this.context = context;
    }

    public Map<String, MappedWrapper> getWrappers() {
        return wrappers;
    }

    public void setWrappers(Map<String, MappedWrapper> wrappers) {
        this.wrappers = wrappers;
    }

    public Context getContext() {
        return context;
    }

    public void setContext(Context context) {
        this.context = context;
    }
}
